const CssMinimizerPlugin = require("css-minimizer-webpack-plugin");

const TerserWebpackPlugin = require("terser-webpack-plugin");
module.exports = {
  output: {
    filename: "scrips/[name].[contenthash].js",
    publicPath: "http:localhost:8080/",
  },
  mode: "production",
  
  optimization: {
    minimizer: [new CssMinimizerPlugin(), new TerserWebpackPlugin()],
  }, 
  performance: {
    hints: false,
  },
}; 
